/**
 * @Description: 用户登录
 * @author 焦政
 * @date 2019/4/5
 */

const Controller = require('egg').Controller;
class UserLogin extends Controller {
  async userLogin() {
    const { ctx } = this;
    ctx.body = 'hhh';
    ctx.helper.formatUser()
    console.log('用户登录数据', ctx.request);

    console.log('用户', typeof ctx.request.body);
  }
}

module.exports = UserLogin
